<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1" />
<script type="text/html" id="product_title"><title><%=goods_info.goods_name%></title></script>
<link rel="stylesheet" type="text/css" href="../css/base.css">
<link rel="stylesheet" type="text/css" href="../css/nctouch_common.css">
<link rel="stylesheet" type="text/css" href="../css/nctouch_products_detail.css">
	<style>
		.goods-detail-price .dikou {
			position: absolute;
			z-index: 1;
			top: 0.25rem;
			right: 4rem;
			display: block;
			font-size: 0.55rem;
			line-height: 1rem;
			height: 1rem;
		}
		.goods-detail-price .dikou em {
			font-size: 0.55rem;
			color: grey;
		}
	</style>
</head>
<body>
<header id="header" class="transparent">
  <div class="header-wrap">
    <div class="header-l"> <a href="javascript:history.go(-1)"> <i class="back"></i> </a> </div>
    <ul class="header-nav">
      <li class="cur"><a href="javascript:void(0);">商品</a></li>
      <li><a href="javascript:void(0);" id="goodsBody">详情</a></li>
      <li><a href="javascript:void(0);" id="goodsEvaluation">评价</a></li>
    </ul>
    <div class="header-r"> <a id="header-nav" href="javascript:void(0);"><i class="more"></i><sup></sup></a> </div>
  </div>
  <div class="nctouch-nav-layout">
    <div class="nctouch-nav-menu"> <span class="arrow"></span>
      <ul>
        <li><a href="../index.html"><i class="home"></i>首页</a></li>
        <li><a href="search.html"><i class="search"></i>搜索</a></li>
        <li><a href="product_first_categroy.html"><i class="categroy"></i>分类</a></li>
        <li><a href="javascript:void(0);"><i class="message"></i>消息<sup></sup></a></li>
        <li><a href="cart_list.html"><i class="cart"></i>购物车<sup></sup></a></li>
        <li><a href="member/member.html"><i class="member"></i>我的商城</a></li>
      </ul>
    </div>
  </div>
</header>
<div id="product_detail_html" style="position: relative; z-index: 1;"></div>
<div id="product_detail_spec_html" class="nctouch-bottom-mask"></div>
<div id="voucher_html" class="nctouch-bottom-mask"></div>
<script type="text/html" id="product_detail">
<div class="goods-detail-top">
		<div class="goods-detail-pic" id="mySwipe">
			<ul>
				<li><img src="<%=groupbuy_info['groupbuy_imagerl']%>"/></li>
			</ul>
		</div>
		<div class="goods-detail-turn">
			<ul>
				<li class="cur"></li>
			</ul>
		</div>
		<!--<div class="round pd-share"><i></i></div>-->
		<div class="<% if (is_favorate) { %>favorate<% } %> round pd-collect"><i></i></div>
	</div>
<div class="goods-detail-cnt">
	<div class="goods-detail-name">
		<dl> 
			<dt><%if(groupbuy_info.is_vr == '1'){%><span>虚拟</span><%}%><%=groupbuy_info.goods_name%></dt>
			<dd><%=groupbuy_info.groupbuy_name%></dd>
		</dl>
	</div>
	<!-- 团购/抢购信息 -->
    <div class="groupby_info">
         <div class="groupby_price">
              <div class="price">￥ <em><%=groupbuy_info.groupbuy_price%></em></div>
			   <% if(groupbuy_info.button_text=='我要团'){ %>
				  <% if(groupbuy_info.count_down) { %>
				  <a href="<%=groupbuy_info.goods_url %>" id="buy">我要团</a>
				 <% } else { %>
				  <span id="end">已结束</span>
				 <% } %>
			   <% }else{ %>
			 <span id="end">未开始</span>
			   <% } %>
		 </div>
		 <div class="groupby_diffrent">
			  <ul>
				  <li><span>原价</span><em style="color: #666"><del><%=groupbuy_info.goods_price %></del></em></li>
				  <li><span>折扣</span><em style="color: #ff6666"><%=groupbuy_info.groupbuy_rebate %></em></li>
				  <li><span>节省</span><em style="color: #ff6666">￥<%=groupbuy_info.goods_price-groupbuy_info.groupbuy_price %></em></li>
			  </ul>
		 </div>
		 <div class="rm"></div>
		<% if(groupbuy_info.button_text=='我要团'){ %>
		 <div class="buy_num">
			  <div class="qiang">本商品已被抢购 <span><%=groupbuy_info.all_buy_quantity %></span> 件</div>
			  <p>数量有限，欲购从速!</p>
		 </div>
         <% }else{ %>
		     <p id="comming">距离开始</p>
		 <% } %>
		 <div class="time" <% if(groupbuy_info.count_down){ %> style="display:block" <%}else{ %> style="display:none" <% } %>>剩余时间: <span>0</span> <strong>天</strong> <span>0</span> <strong>时</strong> <span> 0</span> <strong>分</strong> <span>0</span> <strong>秒</strong></div>
		 <div class="timeend" <% if(!groupbuy_info.count_down){ %> style="display:block" <%}else{%> style="display:none"   <% }%>>团购活动已结束</div>
	</div>
	<!-- end -->
	<div class="goods-detail-comment" id="goodsEvaluation1">
		<div class="title">
			<a id="goodsEvaluation1" href="javascript:void(0);">商品评价<span class="rate">好评率<em><%=evaluate_info.good_percent%>%</em></span><span class="rate-num">（<%=evaluate_info.all%>人评价）</span><div class="item-more"></div></a>
		</div>
	</div>
	<div class="goods-detail-store">
		<a href="store.html?store_id=<%= store_info.store_id %>">
			<div class="store-name"><i class="icon-store"></i><%= store_info.store_name %>
			<% if (store_info.is_own_shop == '1') {%>
				<span class="icon-mall">自营</span>
			<% } %></div>
			<% if (store_info.is_own_shop != 1) {%>
			<div class="store-rate">
				<span class="<%= store_info.store_credit.store_desccredit.percent_class%>">描述相符
					<em><%= store_info.store_credit.store_desccredit.credit %></em>
					<i><%= store_info.store_credit.store_desccredit.percent_text %></i>
				</span>
				<span class="<%= store_info.store_credit.store_servicecredit.percent_class %>">服务态度
					<em><%= store_info.store_credit.store_servicecredit.credit %></em>
					<i><%= store_info.store_credit.store_servicecredit.percent_text %></i>
				</span>
				<span class="<%= store_info.store_credit.store_deliverycredit.percent_class %>">发货速度
					<em><%= store_info.store_credit.store_deliverycredit.credit %></em>
					<i><%= store_info.store_credit.store_deliverycredit.percent_text %></i>
				</span>
			</div>
				<% } %>
			<div class="item-more"></div>
		</a>
	</div>
	<div class="goods-detail-recom">
		<h4>店铺推荐</h4>
		<ul>
			<%for (var i = 0;i<commended_groupbuy_list.length;i++){%>
				<li>
					<a href="group_by.html?groupbuy_id=<%=commended_groupbuy_list[i].groupbuy_id %>">
						<div class="pic"><img src="<%=commended_groupbuy_list[i].groupbuy_imageurl%>"></div>
						<dl>
							<dt><%=commended_groupbuy_list[i].goods_name%></dt>
							<dd>￥<em><%=commended_groupbuy_list[i].groupbuy_price%></em></dd>
						</dl>
					</a>
				</li>
			<%}%>
		</ul>
	</div>
	<div class="goods-detail-bottom"><a href="javascript:void(0);" id="goodsBody1">点击查看商品详情</a></div>
</div>
</script> 
<script type="text/javascript" src="../js/zepto.min.js"></script>
<script type="text/javascript" src="../js/config.js"></script> 
<script type="text/javascript" src="../js/template.js"></script> 
<script type="text/javascript" src="../js/swipe.js"></script> 
<script type="text/javascript" src="../js/common.js"></script> 
<script type="text/javascript" src="../js/iscroll.js"></script> 
<script type="text/javascript" src="../js/simple-plugin.js"></script> 
<script type="text/javascript" src="../js/tmpl/footer.js"></script> 
<script type="text/javascript" src="../js/fly/requestAnimationFrame.js"></script>
<script type="text/javascript" src="../js/fly/zepto.fly.min.js"></script>
<script type="text/javascript" src="../js/tmpl/group_by.js"></script>
  <!--o2o分店地址Begin-->
 <div id="list-address-wrapper" class="nctouch-full-mask hide">
  <div class="nctouch-full-mask-bg"></div>
  <div class="nctouch-full-mask-block">
    <div class="header">
      <div class="header-wrap">
        <div class="header-l"> <a href="javascript:void(0);"> <i class="back"></i> </a> </div>
        <div class="header-title">
          <h1>商家信息</h1>
        </div>
      </div>
    </div>
    <div class="nctouch-main-layout">
    	<div class="nctouch-o2o-tip"><a href="javascript:void(0);" id="map_all"><i></i>全部实体分店共<em></em>家<span></span></a></div>
    	<div class="nctouch-main-layout-a" id="list-address-scroll">
      	<ul class="nctouch-o2o-list" id="list-address-ul">
      	</ul>
    	</div>
    </div>
  </div>
</div>
  <!--o2o分店地址End--> 
  <!--o2o分店地图Begin-->
  <div id="map-wrappers" class="nctouch-full-mask hide">
    <div class="nctouch-full-mask-bg"></div>
    <div class="nctouch-full-mask-block">
      <div class="header transparent">
        <div class="header-wrap">
          <div class="header-l"> <a href="javascript:void(0);"> <i class="back"></i> </a> </div>
        </div>
      </div>
	  <div class="nctouch-map-layout">
		<div id="baidu_map" class="nctouch-map"></div>
	  </div>
    </div>
  </div>
  <!--o2o分店地图End-->
</body>
</html>
